<!DOCTYPE HTML>
<html>
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="utf-8">
  
  <title>贡献指南 Contribution Guide | CTF Training</title>
  <meta name="author" content="CTF Training">
  
  <meta name="description" content="贡献指南 Contribution GuideRepository RulesName Rules比赛名称_年份题目名称其他 GameName_Year_ChallengeName_Others /\w+_\d{4}_\w+/
eg. westerns_2018_shrine and ctf4738">
  
  
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

  <meta property="og:title" content="贡献指南 Contribution Guide">
  <meta property="og:site_name" content="CTF Training">

  
    <meta property="og:image" content>
  

  
    <link rel="alternative" href="/atom.xml" title="CTF Training" type="application/atom+xml">
  
  
    <link href="/favicon.ico" rel="icon">
  
  
  <link rel="stylesheet" href="/css/bootstrap.min.css" media="screen" type="text/css">
  <link rel="stylesheet" href="/css/font-awesome.min.css" media="screen" type="text/css">
  <link rel="stylesheet" href="/css/style.css" media="screen" type="text/css">
  <link rel="stylesheet" href="/css/highlight.css" media="screen" type="text/css">
  <link rel="stylesheet" href="/css/google-fonts.css" media="screen" type="text/css">
  <link rel="stylesheet" href="/css/responsive.css" media="screen" type="text/css">
  <link rel="stylesheet" href="/css/sidenav.css" media="screen" type="text/css">
  <link rel="stylesheet" href="/css/gh-profile-card.min.css" media="screen" type="text/css">
  <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

  <script src="/js/jquery-3.3.1.min.js"></script>
  <script src="/js/gh-profile-card.min.js"></script>

  <!-- analytics -->
  
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-83885261-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>


</head>
</html>
<body id="body" data-spy="scroll" data-target=".toc">
  <div class="container" id="container">
	<div class="content">
	  <div class="page-header">		
  <h1><a class="brand" href="/">CTF Training</a><span class="split"></span><span class="title">贡献指南 Contribution Guide</span><span class="date" id="title-date"><i class="fa fa-clock-o"></i> 2018-11-03</span></h1>
</div>		

<div class="row page">
  <!-- cols -->	
  
  <div class="col-xs-12 col-sm-3 col-md-3 toc"> 
	<!-- toc -->
<script type="text/javascript">
		jQuery(document).ready(function() {
 		   generateWikiTOC('.note', '.toc',  2 , 2 );
		});
</script>
  </div><!-- col-md-3 -->
  
  

  
  <div class="col-xs-12 col-sm-9 col-md-9 note">
	

	  <!-- content -->
	  <h1 id="贡献指南-Contribution-Guide"><a href="#贡献指南-Contribution-Guide" class="headerlink" title="贡献指南 Contribution Guide"></a>贡献指南 Contribution Guide</h1><h2 id="Repository-Rules"><a href="#Repository-Rules" class="headerlink" title="Repository Rules"></a>Repository Rules</h2><h3 id="Name-Rules"><a href="#Name-Rules" class="headerlink" title="Name Rules"></a>Name Rules</h3><p>比赛名称_年份<em>题目名称</em>其他 GameName_Year_ChallengeName_Others <code>/\w+_\d{4}_\w+/</code></p>
<p>eg. <code>westerns_2018_shrine</code> and <code>ctf473831530_2018_web_virink</code></p>
<h3 id="Description-Rules"><a href="#Description-Rules" class="headerlink" title="Description Rules"></a>Description Rules</h3><p>Able to describe clearly what the challenge is.</p>
<p>eg. <strong>护网杯 2018 WEB (4) easy_laravel</strong> and <strong>CTF学习交流入群题 Web 20180626</strong></p>
<h3 id="File-Rules"><a href="#File-Rules" class="headerlink" title="File Rules"></a>File Rules</h3><ul>
<li><strong>Dockerfile (require)</strong></li>
<li><strong>docker-compose.yml (require)</strong></li>
<li><strong>README.md (require)</strong></li>
<li><strong>SourceCode file or directory (require)</strong></li>
<li>vhost.conf</li>
<li>.gitignore</li>
<li>LICENSE</li>
</ul>
<p>Just like other challenge.</p>
<h2 id="How-to-contribute-challenge"><a href="#How-to-contribute-challenge" class="headerlink" title="How to contribute challenge"></a>How to contribute challenge</h2><ol>
<li>Create a challenge repository on GitHub</li>
<li>Create a new issue in this repository</li>
<li>Waiting for the audit</li>
<li>We will fork your repository after approval</li>
</ol>
<h2 id="How-to-update-existing-challenge"><a href="#How-to-update-existing-challenge" class="headerlink" title="How to update existing challenge"></a>How to update existing challenge</h2><ol>
<li>Update your repository</li>
<li>Pull Request</li>
<li>Waiting for the audit</li>
<li>We will merge your repository after approval</li>
</ol>
	  

	  <div>
  		<center>
		  <div class="pagination">
<ul class="pagination">
	
	
	
	
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
		
	
		
	
		
	
		
	
		
	
		
	
	
		<li class="prev disabled"><a><i class="fa fa-arrow-circle-o-left"></i>prev</a></li>
	
	<li><a href="/"><i class="fa fa-archive"></i>Home</a></li>
	
		<li class="next disabled"><a>next<i class="fa fa-arrow-circle-o-right"></i></a></li>
	
</ul>
</div>

		</center>
	  </div>
	  
	</div> <!-- col-md-9/col-md-12 -->
	
  </div><!-- row -->

	</div>
  </div>
  <div class="container-narrow">
	<footer> <p>
  &copy; 2019 CTF Training
  
      with help from <a href="http://zespia.tw/hexo/" target="_blank">Hexo</a> and <a href="http://getbootstrap.com/" target="_blank">Twitter Bootstrap</a>. Theme by <a href="http://github.com/wzpan/hexo-theme-wixo/">Wixo</a>.    
</p> </footer>
  </div> <!-- container-narrow -->
  
<a id="gotop" href="#">   
  <span>▲</span> 
</a>

<div id="github-card" data-sort-by="stars" data-header-text="Most starred repositories" data-max-repos="10" data-username="CTFTraining">
</div>

<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/jquery.tableofcontents.min.js"></script>
<script src="/js/tocgenerator.min.js"></script>
<script src="/js/main.js"></script>




<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
(function($){
  $('.fancybox').fancybox();
})(jQuery);
</script>


</body>
</html>
